#include "PizzaStore.h"

#include "SimplePizzaFactory.h"

#include <assert.h>

Pizza * PizzaStore::orderPizza(std::string type){
    SimplePizzaFactory simplePizzaFactory;
    Pizza *pizza = simplePizzaFactory.createPizza(type);

    pizza->prepare();
    pizza->bake();
    pizza->cut();
    pizza->box();

    return pizza;
}